package com.jz.community.moduleauthorization.login.ui;

import com.jz.community.basecomm.bean.BaseResponseInfo;
import com.jz.community.basecomm.bean.UserInfo;
import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.basecomm.bean.LoginInfo;

import java.util.HashMap;

/**
 * Created by Tony.Fan on 2018/3/20 14:04
 */
public interface LoginView extends MVPContract {

    interface View extends MVPContract.View {

        void showLoginInfo(LoginInfo loginInfo);

        void showSmsCodeInfo(LoginInfo loginInfo);

        void showResetPwdInfo(BaseResponseInfo userInfo);

        void showError();
    }

    interface Presenter extends MVPContract.Presenter<View> {
        @Override
        void setPresenter(View v);

        void getLoginInfo(String mobi, String password, String loginType, String params, String deviceId, String registrationId);

        void getLoginSmsCode(String type,String mobi);

        void getResetPwdInfo(HashMap<String,Object> map);

        void getBindJupsh(HashMap<String,Object> map);
    }

}
